<?php
/**********************
**run_tests.php
**Date Created: 4/13/2009
**Copyright 2009 Tomorrow Tech Industries
**Contact: RPITomorrowTech@gmail.com
**********************/

/*
File to run all unit tests
*/

require_once("shared/errors.inc");
require_once("shared/intellistrip.inc");
require_once("intellistrip_client_unit_tests.inc");
require_once("device.inc");

echo "<HTML>
	<BODY>\n";

if( !testErrors() )
{
	echo "<H2>***TEST FAILED***</H2>\n";
}

if( !testIntellistrip() )
{
	echo "<H2>***TEST FAILED***</H2>\n";
}

if( !IntellistripClientUnitTest::testIntellistripClient() )
{
	echo "<H2>***TEST FAILED***</H2>\n";
}

if( !Device::testDevice() )
{
	echo "<H2>***TEST FAILED***</H2>\n";
}


echo "</BODY>
	</HTML>\n";

?>
